• Manage Appointments in Smart Hospital

    11:44:16 am / 00:01:01:832 Pass

    Manage Appointments in Smart Hospital
    04.16.2025 11:44:16 am 04.16.2025 11:45:17 am 00:01:01:832 · #test-id=1
    Given Doctor is logged in to the Smart Hospital system
    Given the User navigate to the appointment section
    When Doctor clicks the Add Appointment button
    And Doctor clicks on New Patient button
    And Doctor fills in patient details
    And Doctor clicks the save button
    Then Patient should be added successfully
    When Doctor fills in appointment details
    And Doctor clicks on save button
    Then Appointment should be created successfully
    Given Doctor is logged in to the Smart Hospital system
    Given the User navigate to the appointment section
    When Doctor clicks the Add Appointment button
    And Doctor clicks on New Patient button
    And Doctor leaves the Name field empty in patient details
    And Doctor clicks the save button
    Then Patient creation should fail with "Name field is required" message
    Given Doctor is logged in to the Smart Hospital system
    Given the User navigate to the appointment section
    When Doctor clicks the Add Appointment button
    And Doctor clicks on New Patient button
    And Doctor fills in patient details
    And Doctor clicks the save button
    Then Patient should be added successfully
    When Doctor fills Expired time for appointment
    Then Appointment creation should fail with "Appointment Time Is Expired" message
    Given Doctor is logged in to the Smart Hospital system
    Given the User navigate to the appointment section
    When Doctor clicks the Add Appointment button
    And Doctor clicks on New Patient button
    And Doctor leaves the Month field empty in patient details
    And Doctor clicks the save button
    Then Patient creation should fail and shows "Month field is required" message
    Given Doctor is logged in to the Smart Hospital system
    Given the User navigate to the appointment section
    When Doctor clicks the Add Appointment button
    And Doctor clicks on New Patient button
    And Doctor leaves the Day field empty in patient details
    And Doctor clicks the save button
    Then Patient creation should fails and shows "Day field is required" message
    Given Doctor is logged in to the Smart Hospital system
    Given the User navigate to the appointment section
    When Doctor clicks the Add Appointment button
    And Doctor clicks on New Patient button
    And Doctor leaves the Year field empty in patient details
    And Doctor clicks the save button
    Then Patient creation should fail and show "Year field is required" message
  • Accountant Dashboard Functionalities

    11:44:16 am / 00:00:47:757 Pass

    Accountant Dashboard Functionalities
    04.16.2025 11:44:16 am 04.16.2025 11:45:03 am 00:00:47:757 · #test-id=4
    PassAdd New Expense with Invalid Data
    Given User launches the Smart Hospital application
    When the user selects role "Accountant"
    And the user clicks the Sign In buttons
    Then User should see the dashboard summary table
    And User should capture and print the data from dashboard table section this should be stored in the excel for reference
    And then need enter to the Expenses
    Then need click Add Expenses
    Then need to give the Header as "Telephone Bill", name "Office Telephone Charges" and amount "-100.00"
    And the user click the save
    Then need to see the asseart the error notifications
    PassAdd New Expense with Invalid Data
    Given User launches the Smart Hospital application
    When the user selects role "Accountant"
    And the user clicks the Sign In buttons
    Then User should see the dashboard summary table
    And User should capture and print the data from dashboard table section this should be stored in the excel for reference
    And then need enter to the Expenses
    Then need click Add Expenses
    Then need to give the Header as "Telephone Bill", name "hi" and amount "-52"
    And the user click the save
    Then need to see the asseart the error notifications
    Given User launches the Smart Hospital application
    When the user selects role "Accountant"
    And the user clicks the Sign In buttons
    Then User should see the dashboard summary table
    And User should capture and print the data from dashboard table section this should be stored in the excel for reference
    And then need enter to the Expenses
    Then need click Add Expenses
    Then need to give the Header as "Telephone Bill", name "Office Telephone Charges" and amount "100.00"
    And the user click the save
    Then need to see the asseart the success notifications
    Then User should see the dashboard summary table
    And User should capture and print the data from dashboard table section this should be stored in the excel for reference
  • Login functionality for the Smart Hospital website

    11:44:16 am / 00:01:31:039 Pass

    Login functionality for the Smart Hospital website
    04.16.2025 11:44:16 am 04.16.2025 11:45:47 am 00:01:31:039 · #test-id=20
    PassVerify the Login with roles
    Given the user is on the login page
    When the user selects the role "Admin"
    And the user clicks the Sign In button
    Then the user should see the dashboard page for the "Admin" role
    PassVerify the Login with roles
    Given the user is on the login page
    When the user selects the role "Receptionist"
    And the user clicks the Sign In button
    Then the user should see the dashboard page for the "Receptionist" role
    PassVerify the Login with roles
    Given the user is on the login page
    When the user selects the role "Nurse"
    And the user clicks the Sign In button
    Then the user should see the dashboard page for the "Nurse" role
    PassVerify the Login with roles
    Given the user is on the login page
    When the user selects the role "Super Admin"
    And the user clicks the Sign In button
    Then the user should see the dashboard page for the "Super Admin" role
    PassVerify the Login with roles
    Given the user is on the login page
    When the user selects the role "Doctor"
    And the user clicks the Sign In button
    Then the user should see the dashboard page for the "Doctor" role
    PassVerify the Login with roles
    Given the user is on the login page
    When the user selects the role "Accountant"
    And the user clicks the Sign In button
    Then the user should see the dashboard page for the "Accountant" role
    PassAttempt to login with missing username
    Given the user is on the login page
    When the user selects the role "Admin"
    And User leaves the "username" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing username
    Given the user is on the login page
    When the user selects the role "Receptionist"
    And User leaves the "username" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing username
    Given the user is on the login page
    When the user selects the role "Nurse"
    And User leaves the "username" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing password
    Given the user is on the login page
    When the user selects the role "Super Admin"
    And User leaves the "password" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing password
    Given the user is on the login page
    When the user selects the role "Doctor"
    And User leaves the "password" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing password
    Given the user is on the login page
    When the user selects the role "Pharmacist"
    And User leaves the "password" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing username and password
    Given the user is on the login page
    When the user selects the role "Pathologist"
    And User leaves the "both" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing username and password
    Given the user is on the login page
    When the user selects the role "Radiologist"
    And User leaves the "both" field empty
    And the user clicks the Sign In button
    Then User should see an error message
    PassAttempt to login with missing username and password
    Given the user is on the login page
    When the user selects the role "Accountant"
    And User leaves the "both" field empty
    And the user clicks the Sign In button
    Then User should see an error message
  • Booking appointment using patient Login

    11:45:25 am / 00:01:08:037 Fail

    Booking appointment using patient Login
    04.16.2025 11:45:25 am 04.16.2025 11:46:33 am 00:01:08:037 · #test-id=200
    Given the User is on the Login Page
    When the User clicks the User Login
    And the User clicks the Sign In button
    Then the User is able to click the my appointment button
    And the User is able to see the add appointment option
    And the User can fill the appointment form
    And the User should save the form for appointment
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Given the User is on the Login Page
    When the User clicks the User Login
    And the User clicks the Sign In button
    Then the User is able to click the my appointment button
    And the User is able to see the add appointment option
    And the User can fill the appointment
    DateSpecialistDoctorShiftTimingAvailableTimingMessage
    CardiologistsSansa Gomez (9008)Evening04:00 PM - 07:00 PM04:00 PMI would like to schedule a routine heart check-up to monitor my cardiovascular health.
    And the User should save the form for appointment
    And the User can able to see the error msg "Date field is required"
    Given the User is on the Login Page
    When the User clicks the User Login
    And the User clicks the Sign In button
    Then the User is able to click the my appointment button
    And the User is able to see the add appointment option
    And the User can fill the appointment
    DateSpecialistDoctorShiftTimingAvailableTimingMessage
    07/22/2025CardiologistsSansa Gomez (9008)Evening04:00 PM - 07:00 PM04:00 PM
    And the User should save the form for appointment
    And the User can able to see the error msg "Message field is required"
  • Discharging the patient

    11:45:42 am / 00:00:51:949 Fail

    Discharging the patient
    04.16.2025 11:45:42 am 04.16.2025 11:46:34 am 00:00:51:949 · #test-id=245
    Given Doctor is logged in to the Smart Hospital system
    And the Doctor Navigates to the IPD section
    When the Doctor clicks the ipdNo
    And the Doctor clicks the discharge button
    Then the Doctor provides only discharge status "Normal"
    And the Doctor should save the Discharge status
    And the Doctor able to see the error "Discharge Date field is required"
    Given Doctor is logged in to the Smart Hospital system
    And the Doctor Navigates to the IPD section
    When the Doctor clicks the ipdNo
    And the Doctor clicks the discharge button
    Then the Doctor provides only discharge date
    And the Doctor should save the Discharge status
    And the Doctor able to see the error "Discharge Status field is required"
    Given Doctor is logged in to the Smart Hospital system
    And the Doctor Navigates to the IPD section
    Then the Doctor provides the discharge details
    When the Doctor clicks the ipdNo
    Step skipped
    And the Doctor clicks the discharge button
    DischargeStatus
    Normal
    Step skipped
    And the Doctor should save the Discharge status
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Doctor discharging the patient
    Given Doctor is logged in to the Smart Hospital system
    And the Doctor Navigates to the IPD section
    When the Doctor provides the case Id in search field
    caseID
    5085
    Then the Doctor provides the discharge details
    DischargeStatus
    Normal
    And the Doctor should save the Discharge status
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Doctor discharging the patient by case ID
  • Login with the Patient Login Credentials

    11:45:42 am / 00:00:50:539 Fail

    Login with the Patient Login Credentials
    04.16.2025 11:45:42 am 04.16.2025 11:46:33 am 00:00:50:539 · #test-id=254
    Given the User is on the Login Page
    When the User clicks the User Login
    And the User clicks the Sign In button
    Then the User is directed to the patient dashboard
    Given the User is on the Login Page
    When the User clicks the User Login
    When the User Provides invalid Username
    And the User clicks the Sign In button
    Then the User able to see the errorMessage as ""
    errormsg
    Username field is required
    Given the User is on the Login Page
    When the User clicks the User Login
    When the User Provides invalid Password
    And the User clicks the Sign In button
    Then the User able to see the errorMessage as ""
    errormsg
    Password field is required
    Given the User is on the Login Page
    And the User clicks the User Login
    And the User clicks the Sign In button
    Step skipped
    When the User is directed to the patient dashboard
    Step skipped
    Then the User clicks Ipd button
    Step skipped
    And the User clicks payment option
    Step skipped
    And the User doesnt provide the any card details
    Step skipped
    And the User can able to see the error message "Your card number is incomplete."
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Payment by invalid card number
  • Doctor add Prescription for the Feature in Smart Hospital

    11:46:20 am / 00:01:00:219 Fail

    Doctor add Prescription for the Feature in Smart Hospital
    04.16.2025 11:46:20 am 04.16.2025 11:47:20 am 00:01:00:219 · #test-id=311
    FailDoctor tries to submit prescription with missing fields
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor Navigates to the OPD section
    And Clicks the Add Prescription
    When the doctor fills the prescription form with:
    Medicine CategoryMedicineDoseDose IntervalDose Duration
    SelectSelectSelectSelectSelect
    And Clicks Save button
    Step skipped
    Then the system should show an error "Please select any one pathology, radiology or medicine details"
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Doctor tries to submit prescription with missing fields
    FailDoctor tries to submit prescription with missing fields
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor Navigates to the OPD section
    And Clicks the Add Prescription
    When the doctor fills the prescription form with:
    Medicine CategoryMedicineDoseDose IntervalDose Duration
    SyrupAl1SelectMorning
    And Clicks Save button
    Step skipped
    Then the system should show an error "Dose Interval field is required"
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Doctor tries to submit prescription with missing fields
    FailDoctor tries to submit prescription with missing fields
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor Navigates to the OPD section
    And Clicks the Add Prescription
    When the doctor fills the prescription form with:
    Medicine CategoryMedicineDoseDose IntervalDose Duration
    SyrupAlprovitSelectOnly one a dayMorning
    And Clicks Save button
    Step skipped
    Then the system should show an error "Dosage field is required"
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Doctor tries to submit prescription with missing fields
    FailDoctor tries to submit prescription with missing fields
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor Navigates to the OPD section
    And Clicks the Add Prescription
    When the doctor fills the prescription form with:
    Medicine CategoryMedicineDoseDose IntervalDose Duration
    SyrupSelect1 (CT)Only one a dayMorning
    And Clicks Save button
    Step skipped
    Then the system should show an error "Medicine field is required"
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Doctor tries to submit prescription with missing fields
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor Navigates to the OPD section
    And Clicks the Add Prescription
    Then the doctor should navigate to the Prescription Page
    When the doctor Fill the valid Details:
    Finding CategoryMedicine CategoryMedicineDose IntervalDose Duration
    SyrupAlprovit1 (CT)Only one a dayMorning
    Step skipped
    And Clicks Save button
    Step skipped
    Then the Prescription should be added in OPD Section
    Step skipped
    com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    verify the prescription feature by providing valid informations
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor Navigates to the OPD section
    When the doctor Clicks the View Prescription
    Then the previously added prescription should be visible
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor Navigates to the OPD section
    When the doctor Clicks the Show option in OPD section
    Then the doctor should see the <"Visit Details">
    When the doctor clicks delete option in visit details
    Then the patient should be deleted in OPD section
  • Search Patient by Name In Smart Hospital

    11:46:33 am / 00:00:39:310 Pass

    Search Patient by Name In Smart Hospital
    04.16.2025 11:46:33 am 04.16.2025 11:47:12 am 00:00:39:310 · #test-id=355
    PassVerify the Search of patient
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor enters "Dharani" in the search bar
    And clicks the search button
    Then the system should Show the "Dharani"
    PassVerify the Search of patient
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor enters "TestXYZ123" in the search bar
    And clicks the search button
    Then the system should Show the "No data available in table"
    PassVerify that a searched patient can be deleted
    Given Doctor is logged in to the Smart Hospital system
    When the Doctor enters "Dharani" in the search bar
    And clicks the search button
    And selects the patient and clicks "Delete Selected"
    Then the patient should no longer appear in the searched list
  • 1

    io.cucumber.core.exception.CucumberException

    1 tests

    io.cucumber.core.exception.CucumberException

    1 failed
    Status Timestamp TestName
    Fail 11:46:15 am Then the Doctor provides the discharge details
    Discharging the patient.Doctor discharging the patient.Then the Doctor provides the discharge details
  • 2

    org.openqa.selenium.UnhandledAlertException

    2 tests

    org.openqa.selenium.UnhandledAlertException

    2 failed
    Status Timestamp TestName
    Fail 11:45:54 am And the User can fill the appointment form
    Booking appointment using patient Login.Appointment booking for patient.And the User can fill the appointment form
    Fail 11:46:04 am com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
    Booking appointment using patient Login.Appointment booking for patient.com.definitions.Hooks.tearDown(io.cucumber.java.Scenario)
  • 1

    org.openqa.selenium.NoSuchElementException

    1 tests

    org.openqa.selenium.NoSuchElementException

    1 failed
    Status Timestamp TestName
    Fail 11:46:16 am And the User clicks the User Login
    Login with the Patient Login Credentials.Payment by invalid card number.And the User clicks the User Login
  • 5

    org.openqa.selenium.TimeoutException

    5 tests

    org.openqa.selenium.TimeoutException

    5 failed
    Status Timestamp TestName
    Fail 11:46:53 am When the doctor fills the prescription form with:
    Doctor add Prescription for the Feature in Smart Hospital.Doctor tries to submit prescription with missing fields.When the doctor fills the prescription form with:
    Fail 11:46:57 am When the doctor fills the prescription form with:
    Doctor add Prescription for the Feature in Smart Hospital.Doctor tries to submit prescription with missing fields.When the doctor fills the prescription form with:
    Fail 11:47:02 am When the doctor fills the prescription form with:
    Doctor add Prescription for the Feature in Smart Hospital.Doctor tries to submit prescription with missing fields.When the doctor fills the prescription form with:
    Fail 11:47:04 am When the doctor fills the prescription form with:
    Doctor add Prescription for the Feature in Smart Hospital.Doctor tries to submit prescription with missing fields.When the doctor fills the prescription form with:
    Fail 11:47:08 am Then the doctor should navigate to the Prescription Page
    Doctor add Prescription for the Feature in Smart Hospital.verify the prescription feature by providing valid informations.Then the doctor should navigate to the Prescription Page
  • 1

    org.openqa.selenium.StaleElementReferenceException

    1 tests

    org.openqa.selenium.StaleElementReferenceException

    1 failed
    Status Timestamp TestName
    Fail 11:46:26 am And the Doctor should save the Discharge status
    Discharging the patient.Doctor discharging the patient by case ID.And the Doctor should save the Discharge status

Started

Apr 16, 2025 11:44:14 am

Ended

Apr 16, 2025 11:47:20 am

Features Passed

4

Features Failed

4

Features
Scenarios
Steps

Timeline

Tags

NamePassedFailedSkippedOthersPassed %
@Validate_Prescription_View 1 0 0 0 100%
@PatientPayment 0 1 0 0 0%
@DischargingPatient 1 0 0 0 100%
@LoginIntoPatient 1 0 0 0 100%
@Positive_Prescription_Validation 0 1 0 0 0%
@InvalidPassword 3 1 0 0 75%
@InvalidUsername_And_Password 3 1 0 0 75%
@BookingAppointment 0 1 0 0 0%
@LoginWithInvalidUsername 2 0 0 0 100%
@InvalidInput 4 0 0 0 100%
@ValidInput 1 0 0 0 100%
@ValidLoginCredentials 7 0 0 0 100%
@Verify_Delete_Patient_Option 1 0 0 0 100%
@Negative_Prescription_Validation 0 4 0 0 0%
@BookingWithEmptyField 1 0 0 0 100%
@InvalidUserName 3 1 0 0 75%

System/Environment

NameValue
version 10
os windows